home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
L' Effet Pommier 3
/
L'Effet Pommier - Volume 03.iso
/
Graphismes
/
3D
/
POV-Ray 3.0B5a PPC
/
POV-Ray 3.0B5a
/
POVSCN.Scenes
/
POVSCN
/
LEVEL2
/
EIGHT.POV
< prev
next >
Wrap
Text File
|
1995-12-06
|
3KB
|
126 lines
// Persistence Of Vision raytracer version 3.0 sample file.
// File by Ville Saari
// Copyright (c) 1991 Ferry Island Pixelboys
// NOTE: Requires "eight_.iff"
//
// POV-Ray scene description for two billiard balls
//
// Created: 07-Jan-91
// Updated: 09-Jan-91
// 19-Jan-92 dmf (see below)
//
// If you do some nice modifications or additions to this file, please send
// me a copy. My Internet address is: vsaari@niksula.hut.fi
//
// Modified somewhat by dmf for POV-Ray 2.0:
// - decreased most ambient values a bit
// - increased phong_size on balls
// - fixed the image_map ... interpolation didn't work.
// - modified the wood on the questick a bit
#version 3.0
global_settings { assumed_gamma 1.8 }
camera {
location <-15.0, 8.0, -10.0>
direction <0.0, 0.0, 1.0>
up <0.0, 1.0, 0.0>
right <4/3, 0.0, 0.0>
sky <0.0, 1.0, 0.0>
look_at <0.0, 5.0, 5.0>
}
background { rgb 0.025 }
// tabletop
plane { y, 0.0
pigment { colour green 0.5 }
finish {
ambient 0.2
diffuse 0.5
crand 0.08
}
}
// eightball
sphere { <0, 5, 0>, 5.0
texture {
pigment { rgb 0.1 }
finish {
ambient 0.15
diffuse 0.2
}
}
texture {
finish {
ambient 0.15
diffuse 0.2
brilliance 1.0
phong 1.0
phong_size 90
reflection 0.15
}
pigment {
image_map { iff "eight_.iff" once
interpolate 4
}
translate <-0.5, -0.5, -0.5>
scale <4.0, 4.0, 4.0>
rotate <-30.0, 20.0, -45.0>
translate 5*y
}
}
}
// Cueball
sphere { <0, 5, 10>, 5.0
pigment { rgb <1, 1, 1> }
finish {
ambient 0.2
diffuse 0.8
brilliance 1.0
phong 1.0
phong_size 80
reflection 0.15
}
}
// stick
union {
cone { <0,0,60>, 1.75, <0,0,0>, 1.2
pigment {
wood
turbulence 0.02
translate <50.0, -50.0, 0.0>
scale <0.1, 0.1, 1000>
rotate <-10.0, 0.0, 15.0>
}
finish {
ambient 0.15
diffuse 0.4
phong 1.0
phong_size 20
reflection 0.15
}
}
// Blue tip on stick
union {
sphere { <0.0, 0.0, -0.2>, 1.2 scale <1, 1, 0.5> }
cylinder { <0,0,0> <0,0,0.4>, 1.2 }
pigment { colour red 0.2 green 0.5 blue 1.0 }
finish {
ambient 0.2
diffuse 0.8
}
}
rotate <-10.0, 0.0, 45.0>
translate <-4.5, 6.0, 14.5>
}
light_source { <-30.0, 30.0, -15.0> rgb 0.8
area_light <-15, 0, -15> <15, 0, 15>, 5, 5
jitter
adaptive 1
}